<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <script>
      let age = 18
      // console.log(false && age++) //age++ 不执行

      // console.log(true || age++)

      console.log(11 && 22) //都为真 则输出最后一个真值
      console.log(11 || 22)

      // console.log(age)
    </script>
  </body>
</html>
